package com.neusoft.service;

import com.neusoft.pojo.SysFile;

import java.util.List;

public interface IDocumentService {

  //
  public java.util.List<SysFile> searchList(SysFile sysFile);

  public java.util.List<SysFile>listOne(int id);

  public java.util.List<SysFile> searchMyFile(int id, String fileType, String subjectKeywords);

  public void insertFile(int workerId, String fileTitle, String fileType, String subjectKeywords, String fileAddress);

  void insertFileId(int workerId, String workerName);

  public java.util.List<SysFile> getFileId(int workerId);

  void insertAddress(int fileId, String fileAddress);

  void uploadAddress(int fileId,String fileTitle,String fileType,String subjectKeywords);



  //boolean deleteFile(String fileId);

}
